<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/common/init.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<jsp:include page="/WEB-INF/jsp/common/common.jsp" />
	<jsp:include page="/WEB-INF/jsp_lib/validate.jsp" />
	<script type="text/javascript">
	$(function(){
		$("#form1").validate({
			rules : {
				'code' : {
					required : true,
					maxlength :30
				},
				'name' : {
					required : true,
					maxlength :30
				},
				'note' : {
					maxlength :255
				},
				'user_way' : {
					required : true,
					maxlength :50
				}
			}
		});
	});
	
	function mysubmit() {
		$("#form1").submit();
	}
	
	
	</script>
</head>
<body>
	<jsp:include page="/WEB-INF/jsp_lib/tip.jsp" />
	<!-- 内容 -->
	<div>
		<form method="post" action="${path}/ix/seal/config/add.htm" id="form1">
			<h2>
				<div>
					印章类型配置添加
				</div>
			</h2>
			<table width="100%" class="lindex">
				<tr>
					<th align="right">
						印章类型编码:
					</th>
					<td align="left" colspan="3">
						<input name="code" type="text" />
					</td>
				</tr>
				<tr>
					<th align="right">
						类型名称
					</th>
					<td align="left">
						<input name="name" type="text" >
					</td>
				</tr>
						<tr>
					<th align="right">
						类型描述:
					</th>
					<td align="left">
						<input name="note" rows="5" cols="50">
					</td>
				</tr>
					<tr>
					<th align="right">
						用印方式:
					</th>
					<td align="left" colspan="3">
						<select name="user_way">
							<option value="柜员自主用印">柜员自主用印</option>
							<option value="本地验密用印">本地验密用印</option>
							<option value="远程验密用印">远程验密用印</option>
						</select>
					</td>
				</tr>
					</tr>
			
				<tr>
					<th align="right">
						新章申请 最终审核机构
					</th>
					<td align="left">
						
						
						  <select class="form-control" name="verify_new">
						  <c:forEach items="${bank}" var="v">
           				 		<option value="${v.name} ">${v.name}</option>
           				 		</c:forEach>
       					 </select>
							
					</td>
				</tr>
					<%-- <tr>
					<th align="right">
						印章停用 最终审核机构:
					</th>
					<td align="left" colspan="3">
						
							  <select class="form-control" name="verify_stop">
						  <c:forEach items="${bank}" var="v">
           				 		<option value="${v.name} ">${v.name}</option>
           				 		</c:forEach>
       					 </select>
					</td>
				</tr> --%>
				<tr>
					<th align="right">
						印章销毁 最终审核机构
					</th>
					<td align="left">
					
							  <select class="form-control" name="verify_destory">
						  <c:forEach items="${bank}" var="v">
           				 		<option value="${v.name} ">${v.name}</option>
           				 		</c:forEach>
       					 </select>
					</td>
			
			</table>
			<div class="options">
				<a href="javascript:mysubmit();" class="asave">
					【保存】
				</a>
				<a href="javascript:goBack();" class="aback">
					【返回】
				</a>
			</div>
		</form>
	</div>
</body>
</html>